﻿@{
    ViewData["Title"] = "用户信息";
}

<div class="col-md-5 col-md-offset-3" style="margin-top:10%;">
    <div class="panel panel-success" data-toggle="form" data-field="UserLogin">
        <div class="panel-heading">
            <span>重置密码</span>
        </div>
        <div class="panel-body">
            <div class="col-md-10">
                <div class="row">
                    <input data-field="UserName" name="UserName" data-label="用户名" required data-readonly="true" data-size="12,4,8" data-value="@User.Identity.Name" data-icon="glyphicon glyphicon-user" />
                    <input data-field="OldPassword" name="OldPassword" type="password" required data-label="旧密码" data-size="12,4,8" data-icon="glyphicon glyphicon-lock" />
                    <input data-field="Password" name="Password" type="password" required data-label="密码" data-size="12,4,8" data-icon="glyphicon glyphicon-lock" />
                    <input data-field="ConfirmPassword" name="ConfirmPassword" required type="password" data-label="确认密码" data-size="12,4,8" data-icon="glyphicon glyphicon-lock" />
                </div>
            </div>
        </div>
        <div class="panel-footer text-right">
            <div class="row">
                <div class="col-md-10">
                    <button class="btn btn-default" style="width:80px;" data-button="post" data-url="/api/Accounts/ResetPassword" data-complete="#:Account.onResetPassword" data-success-text="重置成功" data-enter-press="true">提 交</button>
                </div>
            </div>
        </div>
    </div>
</div>
